package com.internetCafes.spms.web.sys.dao;

import com.internetCafes.spms.common.module.mongodb.MongodbBaseDao;
import com.internetCafes.spms.web.sys.model.MailSendLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Repository;

/**
 * 邮件日志
 * 
 * @author Sunny
 * @email rekeeper2011@hotmail.com
 * @date 2019-09-18 14:19:36
 */
@Repository
public class MailSendLogMapper extends MongodbBaseDao<MailSendLog> {

    @Autowired
    @Qualifier("mongoTemplate")
    protected void setMongoTemplate(MongoTemplate mongoTemplate) {
        super.mongoTemplate = mongoTemplate;
    }


    @Override
    protected Class<MailSendLog> getEntityClass() {
        return MailSendLog.class;
    }
}
